import Vue from 'vue'
import Vuex from 'vuex'
import ActionHelper from "@/store/ActionHelper";

Vue.use(Vuex)

const store= new Vuex.Store({
  state: {
    isShow:false,
    aHelper:new ActionHelper(),
    transMemo: null,
    filterCateId: -1
  },
  mutations: {
    // eslint-disable-next-line @typescript-eslint/no-explicit-any
    showEditMemo(state: any,editMemo: any){
      state.transMemo=editMemo;
      state.isShow=true
    }
  },
  actions: {
  },
  modules: {
  }
})
export default store
